package hsp.admin.app.literature.po;

import com.baomidou.mybatisplus.annotation.*;
import hsp.admin.app.base.po.BasePO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "诗词表")
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("literature_poem")
public class PoemPO extends BasePO {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "名称")
    @TableField("name")
    private String name;

    @Schema(description = "名人主键")
    @TableField("celebrity_id")
    private Long celebrityId;

    @Schema(description = "内容")
    @TableField("content")
    private String content;

    @Schema(description = "翻译")
    @TableField("translate")
    private String translate;

    @Schema(description = "备注")
    @TableField("remark")
    private String remark;

}
